<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
use yii\helpers\Url;

$web = Url::base();
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">

    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><!-- 设置状态栏的背景颜色 -->
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <title><?= Html::encode($this->title) ?></title>

    <link rel="stylesheet" type="text/css" href="<?= $web ?>/css/bootstrap.css"/>

    <script src="<?= $web ?>/js/jquery-1.10.2.min.js" type="application/javascript"></script>
    <script src="<?= $web ?>/js/tools.js" type="application/javascript"></script>
    <script src="<?= $web ?>/js/bootstrap.min.js" type="application/javascript"></script>


    <style type="text/css">
        .container {
            width: 100%;
        }

        .navbar-brand {
            padding-top: 0;
            padding-right: 0;
        }

        .pagination {
            margin: 0;
        }
    </style>
    <script type="application/javascript">
        var width = $(window).width();
        if (width > 640) {
            width = 640;
        }
        var fontSize = (width / 320 * 20);
        $('html').css('font-size', fontSize);
    </script>
</head>
<body>
<?= $content ?>
</body>
</html>
